<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>练习2</title>
  <script src="script/jquery-3.7.1.min.js"></script>
  <script src="script/promise_utils.js"></script>
  <script type="text/javascript">
    get(`data/student100.json`).then(data => {
      console.log("第1:", data);
      return get(`data/class${data.class_id}.json`);
    }).then(data => {
      console.log("第2:", data);
      return get(`data/school${data.school_id}.json`);
    }).then(data => {
      console.log("第3:", data);
    }).catch(data => {
      console.log("error:", data);
    })
  </script>
</head>
<body>
</body>
</html>
